import fetch from './fetch'

export default {
  update(params) {
    return fetch.put('/student/update/' + params.id, params);
  },

  // 列表
  list(params) {
    return fetch.get('/student/list', params);
  },

  // 删除
  delete(params) {
    return fetch.delete('/student/delete/' + params.id, params);
  }

}
